import React, { Component } from 'react';
import styles from './scrollTopBtn.css';

const ScrollTopBtn = ({ onClickScrollTop }) => {

  return(
    <div className={styles.scrollTopBtn}>
      <div className={styles.btn} onClick={() => onClickScrollTop()}></div>
    </div>
  )

}

export default ScrollTopBtn;
